<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="action-list margin-bottom-10" id="editDiv">
		<a href="#" onclick="setProjectHouseType()" class="btn-action-primary">设置房型</a> 
		<a href="#" onclick="toBatchUpdate()" class="btn-action-primary">批量修改</a> 
		<a href="#" onclick="toBatchImport()" class="btn-action-primary">批量导入</a>
		<a href="#" onclick="sendStaticSalePmo()" class="btn-action-primary">推送到PMO</a> 
		<a href="#" onclick="createIndustModel(null,${id},null,null,true,0)" class="btn-action-primary">新增业态</a>
		<a href="${pageContext.request.contextPath}/estate/project/toAdd?id=${id}"  class="btn-action-primary">编辑</a>
		<a href="#" onclick="toBack()" class="btn-action-default">返回</a>
</div>
<div id="projectInfo" class="content-box  border-all" >
    <h3 class="detail-header border-bottom">PMO项目信息</h3>
    <table class="detail-content detail-normal-content">
        <tr>
            <td>
            	<div class="td-title fl">项目名称：</div>
            	<div class="td-content fl">${loadProjectInfo.project.projectName}</div>
            </td>
            <td>
            	<div class="td-title fl">分期数：</div>
            	<div class="td-content fl">${loadProjectInfo.project.stagesNum}</div>
            </td>
        </tr>
        <tr>
            <td>
            	<div class="td-title fl">所在城市：</div>
            	<div class="td-content fl">${loadProjectInfo['area'].areaFullName}</div>
            </td>
            <td>
	            <div class="td-title fl">楼盘地址：</div>
	            <div class="td-content fl">${loadProjectInfo['project'].premisesAddress}</div>
	    	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">产权年限(年)：</div>
	            <div class="td-content fl">${loadProjectInfo['project'].propertyYear}</div>
          	</td>
      		<td>
	            <div class="td-title fl">开发周期：</div>
	            <div class="td-content fl">${loadProjectInfo['projectPmo'].devlopCycle}</div>
          	</td>
        </tr>
        <tr>
            <td>
            	<div class="td-title fl">开发商名称：</div>
            	<div class="td-content fl">${loadProjectInfo['project'].developerName}</div>
            </td>
            <td>
            	<div class="td-title fl">开发商地址：</div>
            	<div class="td-content fl">${loadProjectInfo['project'].developerAddress}</div>
            </td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">建设类型：</div>
	            <div class="td-content fl">${loadProjectInfo['projectPmo'].constrType}</div>
	          </td>
          	<td>
	            <div class="td-title fl">物业类型：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].tenementType}</div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">总包单位：</div>
	            <div class="td-content fl">${loadProjectInfo['projectPmo'].contraUnit}</div>
          	</td>
          	<td>
	            <div class="td-title fl">监理单位：</div>
	            <div class="td-content fl">${loadProjectInfo['projectPmo'].supervUnit}</div>
          	</td>
        </tr>
        <tr>
            <td>
            	<div class="td-title fl">设计单位：</div>
            	<div class="td-content fl">${loadProjectInfo['projectPmo'].designUnit}</div>
            </td>
            <td>
            	<div class="td-title fl">景观单位：</div>
            	<div class="td-content fl">${loadProjectInfo['projectPmo'].sightUnit}</div>
            </td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">精装修单位：</div>
	            <div class="td-content fl">${loadProjectInfo['projectPmo'].decoraUnit}</div>
          	</td>
          	<td>
	            <div class="td-title fl">邮政编码：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].zipCode}</div>
          	</td>
        </tr>
          <tr>
            <td>
	            <div class="td-title fl">项目开始日期：</div>
	            <div class="td-content fl">
	            <fmt:formatDate value="${loadProjectInfo['projectPmo'].startDate}" pattern="yyyy-MM-dd"/>
	           
	            </div>
          	</td>
          	<td>
	            <div class="td-title fl">项目截止日期：</div>
	            <div class="td-content fl">
	             <fmt:formatDate value="${loadProjectInfo['projectPmo'].endDate}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
        </tr>
        <tr>
        	
          	<td>
	            <div class="td-title fl">实际开工日期：</div>
	            <div class="td-content fl">
	            <fmt:formatDate value="${loadProjectInfo['projectPmo'].actualStartOperatDate}" pattern="yyyy-MM-dd"/>
	            
	            </div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">计划竣工日期：</div>
	            <div class="td-content fl"><fmt:formatDate value="${loadProjectInfo['projectPmo'].planneCompleDate}" pattern="yyyy-MM-dd"/></div>
          	</td>
          	<td>
	            <div class="td-title fl">实际竣工日期：</div>
	            <div class="td-content fl">
	            <fmt:formatDate value="${loadProjectInfo['projectPmo'].actualCompleDate}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">计划交付日期：</div>
	            <div class="td-content fl">
	             <fmt:formatDate value="${loadProjectInfo['project'].deliveryDate}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
          	<td>
	            <div class="td-title fl">实际交付日期：</div>
	            <div class="td-content fl">
	            <fmt:formatDate value="${loadProjectInfo['projectPmo'].actualDueDate}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">计划首开日期：</div>
	            <div class="td-content fl">
	            <fmt:formatDate value="${loadProjectInfo['projectPmo'].planneFirstDayStartOperat}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
          	<td>
	            <div class="td-title fl">实际首开日期：</div>
	            <div class="td-content fl">
	             <fmt:formatDate value="${loadProjectInfo['projectPmo'].actualFirstDayStartOperat}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
        </tr>
        <tr>
          <td colspan="2" class="column-txt-long">
            <div class="td-title fl">项目配套</div>
            <div class="td-content-long fl">
              <div class="td-content-txt">${loadProjectInfo['project'].projectRequirement}</div>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">交通情况：</div>
            <div class="td-content fl">${loadProjectInfo['project'].trafficCase}</div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">项目LOGO：</div>
            <div class="td-content fl">
            	<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==1}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">总平面图：</div>
            <div class="td-content fl">
				<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==2}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
			</div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">周边配套图：</div>
            <div class="td-content fl">
				<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==3}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
			</div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">效果图：</div>
            <div class="td-content fl">
            	<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==7}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">交通图：</div>
            <div class="td-content fl">
				<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==4}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
			</div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">实景图：</div>
            <div class="td-content fl">
            	<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==5}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">样板图：</div>
            <div class="td-content fl">
            	<c:forEach items="${loadProjectInfo['imgList']}" var="row">
            		<c:if test="${row.projectImgType==6}">
            			<img class="img108" onclick="showImg(this)" src="${row.normalUrl}">
            		</c:if>
            	</c:forEach>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="td-left td-img">
            <div class="td-title fl">四至边界：</div>
            <div class="td-content fl">${loadProjectInfo['projectInfo'].fourBorder}</div>
          </td>
        </tr>
    </table>
    <h3 class="detail-header border-top border-bottom">项目设置</h3>
	<table class="detail-content detail-normal-content">
        <tr>
        	<td>
	            <div class="td-title fl">公司总经理：</div>
	            <div class="td-content fl">${loadProjectInfo['generalManager'].userName}</div>
          	</td>
          	<td>
	            <div class="td-title fl">项目总：</div>
	            <div class="td-content fl">${loadProjectInfo['projectLeader'].userName}</div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">经纪总：</div>
	            <div class="td-content fl">${loadProjectInfo['saleLeader'].userName}</div>
          	</td>
          	<td>
	            <div class="td-title fl">销售经理：</div>
	            <div class="td-content fl">${loadProjectInfo['fieldLeader'].userName}</div>
          	</td>
            
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">销管经理：</div>
	            <div class="td-content fl">${loadProjectInfo['maLeader'].userName}</div>
          	</td>
          	<td>
	            <div class="td-title fl">财务经理：</div>
	            <div class="td-content fl">${loadProjectInfo['financeLeader'].userName}</div>
          	</td>
        </tr>
        <tr>
            <td>
	            <div class="td-title fl">区域领导</div>
	            <div class="td-content fl">${loadProjectInfo['areaLeader'].userName}</div>
          	</td>
          	<td>
	            <div class="td-title fl">区域经理：</div>
	            <div class="td-content fl">${loadProjectInfo['areaManager'].userName}</div>
          	</td>
            
        </tr>
    </table>
    
    <h3 class="detail-header border-top border-bottom">项目其他信息</h3>
		<table class="detail-content detail-normal-content">
        <tr>
        	<td>
	            <div class="td-title fl">产品类型：</div>
	            <div class="td-content fl">${loadProjectInfo['projectTypeName']}-${loadProjectInfo['project'].remark}</div>
          	</td>
          	<td>
	            <div class="td-title fl">项目类型：</div>
	            <div class="td-content fl">${loadProjectInfo['itemTypeName']}</div>
          	</td>
        </tr>
        
          <tr>
            <td>
	            <div class="td-title fl">建造进度：</div>
	            <div class="td-content fl">${loadProjectInfo['project'].buildingSchedule}</div>
          	</td>
          	<td>
	            <div class="td-title fl">装修标准：</div>
	            <div class="td-content fl">
				<c:choose>
				<c:when test="${loadProjectInfo['project'].renovationType==0}">精裝</c:when>
				<c:when test="${loadProjectInfo['project'].renovationType==1}">毛坯</c:when>
				<c:when test="${loadProjectInfo['project'].renovationType==2}">其他: ${loadProjectInfo['project'].renovationDesc}</c:when>
				</c:choose>
				</div>
          	</td>
        </tr>
        
        <tr>
        	<td>
	            <div class="td-title fl">交付情况：</div>
	            
	            <div class="td-content fl" >
	            	<c:choose>
	            		<c:when test="${loadProjectInfo['project'].deliveryStatus==0}">未交付</c:when>
	            		<c:when test="${loadProjectInfo['project'].deliveryStatus==1}">已交付</c:when>
	            	</c:choose>
	            	</div>
          	</td>
            <td>
	            <div class="td-title fl">容积率：</div>
	            <div class="td-content fl">${loadProjectInfo['project'].plotRatio}</div>
          	</td>
        </tr>
        
        <tr>
            <td>
	            <div class="td-title fl">绿化面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].greenSpace}</div>
          	</td>
          	<td>
	            <div class="td-title fl">绿化率(%)：</div>
	            <div class="td-content fl">${loadProjectInfo['project'].greeningRate}</div>
          	</td>
        </tr>
        
        <tr>
        	<td>
	            <div class="td-title fl">所属街道：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].street}</div>
          	</td>
          	<td>
	            <div class="td-title fl">所属社区：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].community}</div>
          	</td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">销售情况：</div>
	            <div class="td-content fl" >
	            	<c:choose>
	            		<c:when test="${loadProjectInfo['project'].salesStatus==0}">在售</c:when>
	            		<c:when test="${loadProjectInfo['project'].salesStatus==1}">已售</c:when>
	            	</c:choose>
	            </div>
          	</td>
          	<td>
	            <div class="td-title fl">占地面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].floorSpace}</div>
          	</td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">总建筑面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].overallFloorage}</div>
          	</td>
          	<td>
	            <div class="td-title fl">计费面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].billingArea}</div>
          	</td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">地上总建筑面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].undergroundArea}</div>
          	</td>
          	<td>
	            <div class="td-title fl">地下总建筑面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].groundArea}</div>
          	</td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">自用面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].ownArea}</div>
          	</td>
            <td>
            	<div class="td-title fl">可出租面积(万m2)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].ownArea}</div>
            </td>
        </tr>
        
        
    </table>
	
	
	
	
	
    <h3 class="detail-header border-top border-bottom">房产信息</h3>
	<table class="detail-content detail-normal-content">
        <tr>
            <td>
	            <div class="td-title fl">管理区地址：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].precinctAddress}</div>
          	</td>
            <td>
            	<div class="td-title fl">管理区负责人：</div>
            	<div class="td-content fl">${loadProjectInfo['projectInfo'].principal}</div>
            </td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">常住人口：</div>
	            <div class="td-content fl">${loadProjectInfo['projectInfo'].permanentPopulation}</div>
          	</td>
            <td>
            	<div class="td-title fl">总人口数：</div>
            	<div class="td-content fl">${loadProjectInfo['projectInfo'].totalPopulation}</div>
            </td>
        </tr>
        <tr>
        	<td colspan="2">
        		<div class="td-title fl">暂住人口数：</div>
            	<div class="td-content fl">${loadProjectInfo['projectInfo'].temporaryPopulation}</div>
            </td>
        </tr>
    </table>
    <h3 class="detail-header border-top border-bottom">项目设置</h3>
	<table class="detail-content detail-normal-content">
        <tr>
        	<td>
	            <div class="td-title fl">预定默认定金(元)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectSetting'].defaultEarnest}</div>
          	</td>
            
        </tr>
        <tr>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">开盘时间：</div>
	            <div class="td-content fl">
	            	<fmt:formatDate value="${loadProjectInfo['projectSetting'].openTime}" pattern="yyyy-MM-dd"/>
	            </div>
          	</td>
          <%--   <td>
            	<div class="td-title fl">开盘前案场客户有效期(天)：</div>
            	<div class="td-content fl">${loadProjectInfo['projectSetting'].projectSettingvalidBeforeField}</div>
            </td> --%>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">开盘后案场客户有效期(天)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectSetting'].validAfterField}</div>
          	</td>
            <td>
            	<div class="td-title fl">开盘前渠道客户有效期(天)：</div>
            	<div class="td-content fl">${loadProjectInfo['projectSetting'].validBeforeChannel}</div>
            </td>
        </tr>
        <tr>
        	<td>
	            <div class="td-title fl">开盘后渠道客户有效期(天)：</div>
	            <div class="td-content fl">${loadProjectInfo['projectSetting'].validAfterChannel}</div>
          	</td>
            <%-- <td>
            	<div class="td-title fl">是否启用打印有效协议：</div>
            	
            	<div class="td-content fl" >
            		<c:choose>
            			<c:when test="${loadProjectInfo['project'].validPrint==0}">是</c:when>
            			<c:when test="${loadProjectInfo['project'].validPrint==1}">否</c:when>
            		</c:choose>
            	</div>
            </td> --%>
        </tr>
    </table>
</div>

